package com.relytosoft.mizar.analyze.structure.services.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.relytosoft.mizar.analyze.structure.api.entity.AyStructureDisposition;
import com.relytosoft.mizar.analyze.structure.api.pojo.dto.AyStructureDispositionDto;
import com.relytosoft.mizar.analyze.structure.api.pojo.query.AyStructureDispositionQuery;
import com.relytosoft.mizar.analyze.structure.api.pojo.vo.AyStructureDispositionVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * @Author: zyc
 * @version: v1.0
 * @description: com.relytosoft.mizar.analyze.structure.services.mapper
 * @Date: 2022/5/18 14:07
 */
@Mapper
public interface AyStructureDispositionMapper extends BaseMapper<AyStructureDisposition> {

    /**
     * 布控任务分页查询
     *
     * @param page
     * @param ayStructureDispositionQuery
     * @return
     */
    Page<AyStructureDispositionVo> selectPageDispositionTaskList(@Param("page") Page<AyStructureDispositionVo> page, @Param("ayStructureDispositionQuery") AyStructureDispositionQuery ayStructureDispositionQuery);

    /**
     * 更新临时白名单
     */
    void updateTempVehicleGroup(AyStructureDispositionDto ayStructureDispositionDto);
}
